<!--
 * @Description: Description
 * @Author: Kerwin
 * @Date: 2025-03-24 14:21:00
 * @LastEditTime: 2025-03-24 18:23:30
 * @LastEditors:  Please set LastEditors
-->
<template>
    <view class="container">
        <u-tabs v-model="current" :list="list" @change="change" :is-scroll="false"></u-tabs>
        <!-- <view>
            <p>订单金额比例<u-input style="width: 2ch;" v-model="value" :type="type" :border="border" />%</p>
            <p>单个最高领取金额<u-input v-model="value" :type="type" :border="border" />元</p>
        </view> -->


    </view>

</template>

<script setup lang="ts">
import { ref, reactive } from 'vue'
const list = ref([{ name: '福利红包' }, { name: '活动红包' }])
const current = ref(0)

const change = (index:any) => {
    console.log("index", index);
    current.value = index
}


</script>

<style lang="scss" scoped>
.container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}
</style>